<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

    
 /*
 *  user defined functions & variables & constants library
 *  
/*
 * 
 * USER DEFINED CONSTANTS
 * 
 *  The minimue interval time of resending emails or do some repeatable operations
 */
define('MIN_INTERVAL', 60);
/*
 * User account's status
  */
define('STAT_ERROR', -1);     //unknow status caused by any reasons
define('STAT_PEDING', 0);     //default status of new users      
define('STAT_ACTIVED', 1);    //status of activated users
define('STAT_DISABLED',2);   //status of disabled users


//system constant
define('SYS_USERID', 'user_id');    //cookie and session variables --- userid
define('SYS_USERNAME', 'user_name');   //  //cookie and session variables --- username
define('SYS_SETTINGS', 'system_settings');    //key name of $config['system_settings']



//common views' name
define('VIEW_LOGINBAR','common/loginstatus_view');   //login status bar view
define('VIEW_ANNOUCEMENT', 'common/annoucement_view');   //annoucement list view
define('VIEW_FOOT', 'common/foot_view');  //foot view
define('VIEW_HEAD','common/head_view');  //head view
define('VIEW_TABPAGE','common/tabpage_view');  //tab page view
define('VIEW_MYQIQU_SIDEMENU','myqiqu/myqiqu_sidemenu');  //myqiqu side menu view
define('VIEW_MYACCOUNT_SIDEMENU','myqiqu/myaccount_sidemenu');  //myaccount side menu view

